package com.example.springboot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.domain.po.Record;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.dao
 * @Project：springboot
 * @name：RecordMapper
 * @Date：2025/2/23 21:19
 * @Filename：RecordMapper
 * @for:
 */
@Mapper
public interface RecordMapper extends BaseMapper<Record> {
    List<Record> findBySearch(@Param("search") Record search, @Param("userId") Integer userId, @Param("role") Integer role);
}
